<div>
	<%=error_messages_for 'customer'%>
	<fieldset>
		<legend>Please Enter Your Details:</legend>
		<%form_for :customer, :url => {:action => :checkout_details} do |form|%>
			<p>
				<label for = "name">Name:</label><br />
				<%= form.text_field :name, :size => 40 %>
			</p>
			<p>
				<label for = "phone">Phone:</label><br />
				<%= form.text_field :phone, :size => 40%>
			</p>
			<p>
				<label for = "post code">Post Code:</label><br />
				<%= form.text_field :post_code, :size => 40 %>
			</p>
			<p>
				<label for = "city">City:</label><br />
				<%= form.text_field :city, :size => 40 %>
			</p>
			<p>
				<label for = "country">Country:</label><br />
				<%= form.text_field :country, :size => 40 %>
			</p>
			<%= submit_tag "Place Order", :class => "submit" %>
		<%end%>
	</fieldset>
</div>